package model;

import java.util.LinkedList;
import java.util.List;

public class VersionInvestigator {

	List<String> pathList = new LinkedList<String>();
	
	public void investigate() {
		for (String path : pathList) {
			JavaArtifact artifact = JavaArtifactFactory.create(path);
			artifact.calculateClassVersion();
			System.out.println(artifact.toString());
		}
	}

	public void addArtifactPath(String absolutePath) {
		pathList.add(absolutePath);
	}
	
}
